This logic would be better moved into the presenter.