Adds StateChange block.