Updates after API changes.
Some fixes in custom-document-schema tests.

Though, still needs fixing: node conversion is broken.