Add encoding.