* Adds type hints to the groups servlet and stringutils code. * Assert the maximum length of some input values for spec compliance.