Decode params.