Add DocumentResources#clear