Added python metaclass