Get rid of Foundation dependency.