Added delete and deleteAt methods.