Use more specific return type for SyntacticFunction
Add support for a more straightforward alternative to import selectors