Replace self.link with self.emit.