Generics are now supported. Excluding difficult case, partly illustrated by class AbstractClass2.