Ported GC API funcs.