<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_layout(self, layout):
 """ Add a Layout to the Frame. :param layout: The Layout to be added. """

        layout.register_frame(self)
        self._layouts.append(layout)