Fixed adding registrations to Core Data from schema.