Inlineable classes

This WiP PR will host the inlineable classes optimization. Follow up in the comments.
Come on.. It's perfect :P...

I actually just don't like the repetition of the default case (this is not the only place this occurs, but here it can be easily done differently...). (What's the idiomatic usage of `tryOrRollback`?)