ref: extract icp_list_modules()