Added delete action which isn't quite working.