Update abstract classes to always return a version, in order to allow brew uses to work

Fixes #768