Connect after loading modules.