Add platform check for additional constraints attributes.