Addition of types to docstrings in chatUtilities