Remove unused code.
Rewrite IRQ_HANDLER as cleaner one.