delete deprecated client code.