Revert change of self.model to obj.Model in 16b309be06