Add retrieve_by_key.