Variable number of ports with different types in GRC

Hi,

I am writing grc definitions for my blocks. Some of my blocks have one
input/output port of byte type, and variable number of ports of complex
type.

Input signature of one of my blocks looks like (2, 5, sizeof(char),
sizeof(gr_complex) )

I checked the tag for source and sink definitions; however it
duplicates ports only when they are of the same type. Is there any way
to fix this.