rename "model" attribute into "flow" to mean dataflow