Also remove reference to document.relative_path.