Refactoring protocol.