Constify and tweak for readability.