Partial decoding API fixed