Add documentation, outgoing set, validation, truth value formatting