Add methods for insert into CoreData.