Implemented add/cancel methods.