I've tried to avoid using class << self  as its seems unintuitive to me, but I think in this case you're probably right. Lets use the class << self syntax here.