Core Data base classes.