Removing 'format' from 'document'.