Added active_states and  hidden_states to Configuration and template files.