When possible plain objects that are used as parameters are converted to typed objects