Make parse() create Document node directly, instead of via push_node()