Use Set for message contents rather than Array