<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_line(self, section):
 """Base implementation just pops the item from collection. Re-implements to add global behaviour """

        self.beginResetModel()
        self.collection.pop(section)
        self.endResetModel()