def singleton_particle(*bases):
return with_metaclass(SingletonParticleMeta, SingletonParticle, *bases)<EOL>
Defines a singleton instance immediately when defining the class.  The
    name of the class will refer the instance instead.