Added a class which prints the types nicely.