added the ability for templates to have their own control methods and to hide fieldsets in control panel