def METHOD_NAME(self, iface):
    self.add_line(f".. dbus:interface:: {iface.name}")
    self.add_line("")
    self.indent += "   "
    for line in prepare_docstring("\n" + iface.doc_string):
        self.add_line(line)
    for method in iface.methods:
        self.add_method(method)
    for sig in iface.signals:
        self.add_signal(sig)
    for prop in iface.properties:
        self.add_property(prop)
    self.indent = self.indent[:-3]