Adding basic ISR handling.