Refactor: remove all assignment from views.