Added new kinds of constraints for static fields and static members.