add class version
Merge pull request #2901 from VinInn/VersionedCandidate

Misc fixes -- Add class version for Candidate.