Added interrupt handler.