Why did you create a new method here instead of just adding `self.session.rollback()` here?