Before refactor.