Add GCode class definition.