I think 'NewBase' is the "intermediate base class" mentioned here: http://pythonhosted.org/six/#six.add_metaclass.  If so, using the ``@add_metaclass()`` decorator instead of ``with_metaclass()`` should fix this.