Add encoding property