Add sketch of generics support in classes