Added support for versioning to the individual document store method