mu: start implementing the flow api.