Use new ExampleRestraint constructor.