Handling of expressions, and types other than string for external functions