Merge build_document into build_node and add some qualifiers/specifiers