Fixing syntax error on Ruby 2.0.