Refactor the long methods of DeixtoAgentPresenter.