Added support for flow units settings and switched to int8 for units and language settings