Allowed lpa->document->type to be null.