Fixed ability to change templates.