I understand why you did this, but I'm not sure if it's good to do it this way. Configuring the template is part of the essential config