Creating custom template types (\XF\Entity\Template::$type) through add-ons seems to be problematic during upgrades, as the importer seems to adhere to the structure's allowedValues (expecting either mail, admin, or public), throughout which add-on class extensions have yet to take effect.
To...