Minor code simplification.