Implement SyntaxError: import * only allowed at module level