Move logic out of CodeMenuPresenter into PresenterAccepts singleton.