Add methods for DocumentOrderedMap.