Created classes for the Type hierarchy.