Added interface state machine.