Remove available_functions in safe_interface and directly use get_admissible_plugins.