Cleaning up _get_all_handler_names.