Refactoring.  Setup mechanism for data type registration using system similar to image package.