Support for generic types in parameters