Do not use deprecated has_key