Fix use of Ruby 1.9 hash syntax.