Adding an interruption handler.