Added setDecodeParams for compliance