Updated OAIProviderService to reflect kernel api changes.