Use 1.9's singleton_class where possible
Copy and paste by mistake, oops…