Caching the version number
Document version tweaks