Changed the order of dependencies.