Restructure dependency configuration part.