Additional repository work - fixes to add/delete