Moving gm.format to utils