Added support for multi threaded core data operations.