Add support to DMO for parametric types
Fix handling of non-parametric return types