Refactor entire codebase.