Change API protocol to support clear screen