Add the new foundation library to core.