Simplify version code