Extracted a method.