Remove classDef from templates
This is only required if one wants to implement direct instances based on the templates without derivation. But, in our case, were always derive it is unecessary and also causes issues. Hence, I removed it with this commit.