Refactoring to improve readability.