Changed order of di dependencies.