Remove implicit dependency on DHFoundation

These should be seperate frameworks so we can use foundation in multiple places if needed.