Could have classes `extend ActiveSupport::PerThreadRegistry` instead. Then you can drop the `included` hook and move the contents of the `ClassMethods` module into `PerThreadRegistry` itself.