<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def after(self):
 """ Return a deferred that will fire after the request is finished. Returns: Deferred: a new deferred that will fire appropriately """


        d = Deferred()
        self._after_deferreds.append(d)
        return d.chain