Fixed top level function expr vs func decl giving errors.