. . . to ensure that we can have the version of FunctionRegistry that is not dependent on BeanFactory.