Refactoring: extract methods from Window to Carpet