Rename code_obj to document.