module

Supporting function and methods for Gmode class.