Extract to a new method.