Lightweight Core Data helper to reduce boilerplate code.