Refactoring shared behavior into a superclass, splitting up a large method into smaller pieces.