Add support for interrupts. Test TBD.