Clarifying how the Device class is created.

It is now in its own kind-of metaclass.