Adds client stub code.