Implemented version selection stuff.