Cleanup Foundation to remove external (AppCoreKit) module dependencies.