Adds abstract classes for Version and VersionService.