Cleaning & refactoring framework.