Minor refactoring for better readability.