Remove call to #has_key?