Added dependency resolution.