Add Version to __init__ and fix export of get_all_versions.