Moved the functions to collect hints and the ColoredLine class to
'internal' priv namespace.