Add generic type analysis