Removed unneeded self.class since class << self.