Adding support for clear of interrupt flag.