__class__ in defined class