Why do you import collect_submodules when actually it is not used? Is it leftover?