Moved the templates part of the preview service into the config file