Added some small support for IRQs