Fixed a few things

I think that I have rtti working.