Added toString() methods

Added a toString() method to the end of each object.
This line is currently making the build fail; I think it should be `return typeAlias.toString();`