define the method _new_instance with 4 arguments: (cls, children set to None, connector set to None and negated set to boolean False.
def _new_instance ( cls , children = None , connector = None , negated = False ) :