Add Core Data support.