Ensure document title and pages are set on import