Minor code simplification / condensation.