Added a Inherit annotation to inherit events definitions from the super classes.
Adapted from: https://github.com/SierraGolf/otto

Signed-off-by: Carlos Sobrinho <carlos@sobrinho.pt>