Minor tweak to avoid some function call overhead.