Use the right method to delete a key from a hash