Fix for methods defined by attr_* not being inherited from class << self