Allow nil in document/style lists.