Implemented deleting records.