Refactoring as a standalone module.