Mirroring messages function.