layout: GC unused flow types
layout: Rename `FlowData` to `BaseFlow` to match other types