Transmit Constraints between widgets and the model opener as case classes instead of via string maps