<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def clean_up(self):
 """Do clean-up before returning buffer"""

        self.action_buffer = []
        self.sources = {}
        self.doc_to_get = {}
        self.doc_to_update = []