Split and pretty up the registering of classes in the registrar