Exposed 'fragment(mimetype)' to the templating system