Adds version dependency to sword requirement.