Refs #38 - Define getConstraints in case all constraints are optional.