ServiceMetadataFactory is now provided to the RestManager.