New feature: State modularity - allow each step module to have its own state.

Not backward compatible!