To be dryer, you could first handle the `self.contant_ attribute`. Then put common code.