Registry no longer requires a create function.
Added the macros for class reflection.