Add `baseFunctions` and related deps.