Fixed behave to manage templates and reports.