Add function nonstrict_decoder