Added initial message dedupe implementaton