Inlineable classes

This WiP PR will host the inlineable classes optimization. Follow up in the comments.
OK. So I guess indeed then it's better to explicitly prevent any attempt to inline this by also checking the origTypes.