Utility refactored.