Clean up code:

Add function set_unicast_flow