Refactoring in templates.
Refactoring of the views. Using MethodView instead.