Adds method for deleting structure