Refactoring. Method extraction.