vbump, changed delimiters from : to | since classes like
ActiveRecord::Base screw things up. Added a test for returning singleton
classes and translating fix for them.