Add basic support for heartbeat processing.