Load module dependencies recursively
The test for this is in !905, but it triggers an unrelated bug that needs to be fixed first, so this MR does not have a test, but it works.
The test for this is in !905, but it triggers an unrelated bug that needs to be fixed first, so this MR does not have a test, but it works.