A OS X document class that mimics UIManagedDocument to support Core Data in all its modern glory: