Use IndexMut instead of get_mut() now that IndexMut works properly.

Also renamed lowercase static constants to uppercase, as the compiler
gives a warning otherwise.