Implemented set_versioning_state in order to define the versioning state on document creation