Ah right, that does work.
My issue was that there were quite a lot of extension methods and I had to split them into separate files, so I could not place them inside the same object… Another issue was that I had a lot of vals: extensions require changing vals to defs, therefore re-evaluation.
I am using this approach for the smaller, more localized cases though. Still very helpful.