Prepare deprecation of the `this.gm`

Deprecating the `this.gm` guiding users to use the global `gm` scope.