Support stateful functions with no own state (only substate).

No match.