Changed the hash syntax to work with Ruby 1.8