Added synchronization wrappers for IDataProvider and IDocumentProcessor.