Typehint to GroupConstraint?