Removed InvalidTagException

Type checks are done from the enum type now