use new metaclass syntax in Python 3k