Closes owncloud/documents#167