Support state machine behaviour configurable