updated derivated types Class, Task and Event