Add version constraints.