added get_key_items classmethod