Stop using gcObjects directly.  Pass it into the class instead.