Removed reference to $gCms for compatibility with CMSMS 1.9