Switched the hash syntax to Ruby 1.9 style