Updated broken code after we changed how version is defined.