<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove(self, spec_or_id, multi=True, *args, **kwargs):
 """Backwards compatibility with remove"""

        if multi:
            return self.delete_many(spec_or_id)
        return self.delete_one(spec_or_id)