Allow global class definitions

Allow following class definition:
class @FooBar