Add encoding declaration.