Added add/delete functionality.