This was changed to initializeFunctionRegistry(FunctionContributions functionContributions), the FunctionContributions interface provides access to what you need.