Removed manually mapped VersionType enum and replaced with VersionTypeOp...

...tions

Closes #686