Make get_module_routes and gen_submodule_names public