support all of min-document