EmberTypeRegistry simplification and bugfix.