Fixes #145. Added a method to the TypeRegistry to retrieve an alias given a Class. Updated class and method comments in the types package.