Module loader properly iterates all automatically loaded dependencies [#399]