refactiring docutils: utils -> document