<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_styles(self, **styles):
 """Add ODF styles to the current document."""

        for stylename in sorted(styles):
            self._doc.styles.addElement(styles[stylename])