add support for branching Pump-defined flows