Refactor Method.