Handle interrupt/cause register better.