Fixed Inheritance

I did it completely wrong yesterday, today I did it correctly and with
event_inherited implemented as well.