Add hooks after get_available_keys method