Replaced named types feature with ability to register an object graph of types.