Fix virtual method cll of generic classes