Allow self.Foo

omitting `self` in `self.Foo` gives uninitialized constant NameError