Slightly better way of handling versions.