(Refactor) extracted method.