Fixes so that hashes don't use ruby 1.9 syntax.