Updated DocReference.version attribute to be an integer.