Add a document post uploader extension.
Refactor document resource getter extension.