Moved to core as a dependency for gc.