gro: Move common completion code into helpers