Shrinkage code refactoring.