Renamed typeDec to get rid of previous refactoring left-overs