need to store document in decorator
Merge pull request #1219 from ContinuumIO/hotfix/one_obj_page_broken

need to store document in decorator