Add platform check for additional constraints attributes.

Related: #25