started on simplifying the usage of the typeregistry
Provide a single method that generates the entry and adds the property to the exported class
Edited by Andreas Dedner
Provide a single method that generates the entry and adds the property to the exported class