def _sum(op1, op2):
    """Sum of two operators, allowing for one of them to be None."""
    if op1 is None:
        return op2
    elif op2 is None:
        return op1
    else:
        return op1 + op2