Ensures dependencies are linked before parent module for correct constructor ordering.