Handled indirect return params in type maps.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
Merge pull request #310 from ddobrev/master

Handled indirect return params in type maps