Add interrupt handling.