Allow class constraints in syntax definitions