Make to_version really optional