added support for @classmethod