Added has_key and get