Looks like `Rails::Engine.ancestors` could replace searching ObjectSpace