Handled indirect return params in type maps.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>