Core data classes implementations