Replaced all _ to self.