Added support for WithReferences to ConfigurationService