Improve organization for breaking ties in code.