Primary refactoring catalog entry, also named Move Method in the first edition. The example moves behavior to acontext better suited to its responsibility. The 2019 solution uses the underlying design principle rather than requiring a particular later tool or library API.