Fixed support for the any schema on Documents.