Ensure that non modular dependencies appear at the end of the bundle as
they may have ordering dependencies on other code.