Modifies controller template for Castle pattern.