Removes template type defintions