Add method for deleting metadata record.