Python metaclass demonstration