I'd like it better if these were symbolic constants with integer values instead of string literals.  With symbolic constants, you get an error for typos. Here, if the string is wrong you might never no.