Removing dependence on the foundation library.