front: Minor code simplification.