Cleanup some useless code

Nested parameters are processed in the same way as not nested parameters - no reason to have custom code for them.