Extract helper calls to a common place