layout: Rename `FlowData` to `BaseFlow` to match other classes