Inlineable classes

This WiP PR will host the inlineable classes optimization. Follow up in the comments.
Because it crashes the compiler (at least it did when I wrote this).