Generics + imported type