Problem with @AddClassWithGenerics