Fixing flow types.