Add validator's dependency.