Remove object extension on inserted/retrieved objs

`Module#extend` invalidates the global method cache which can
drastically reduce performance for all method calls in the Ruby process.
Adjust rebased code not to use `.id`