Hacky. Prefer to pass these as parameters to the factory that generates this constraint have it set those values in the constraint it creates.