Bugfix: Making sure that the modules are processed in the order they are defined.