Inlineable classes

This WiP PR will host the inlineable classes optimization. Follow up in the comments.
I'm not sure about that one. It breaks the idiomatic usage of `tryOrRollback`, and I find it more difficult to read, actually.