is this really necessary? since G is not typed I guess it's not really a performance improvement.