modify the precedence of Affine operations
Add compatibility APIs