Removed Types File
Added very simple error checking to type method