Remove endShell proxy function.