Minor refactor to improve readability.