Changing how submodules are added in C; part of #254.