Use Ruby 1.9 hash syntax and removed whitespace