Simplified interrupt handling.