Add version to document