Add heartbeat support.