Use Bob's with_metaclass