How would I reverse these changes in the code? I am trying to build an add-on around this.
Look at the GitHub issue that I pointed out earlier in the thread--Lukas pointed out something similar that seemed a bit less fragile. Not sure if it is identical.