Simplify code slightly. No functional change.