Fixed a Ruby 2.0 incompatibility when serializing Singletons
Merge branch 'ruby-2.0' into experimental