Add encoding back.