Get rid of the ugly switch statements
Bad git! No!