Add *_retrieve_*_list() to database objects.
Use key_data_retrieve_key_state_list() in key_data_cache_key_states()