Open
Description
Is your feature request related to a problem? Please describe.
Custom widgets that are optional can still be referenced in expressions and code to avoid needing to check for exitsence. APIs should work the same way. If an API is declared within the screen/widget then it should be referenceable without needing to invoke it.
Describe the solution you'd like
Make API names referenceable even if they have not been called.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.