Slight refactoring for readability.