Add support for type parameters.