Added support for generics in attribute types.