Read version from class