Reworked template mimetypes