<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def add_months(self, value: int) -> datetime: """ Add a number of months to the given date """

        self.value = self.value + relativedelta(months=value)
        return self.value