Adds deduplication of incoming messages