Unified refactoring wizard page code.