Revert "Spike for document exporting."

This reverts commit 7086230596d29ff6d52252e6c975cb7f73cc3d38.