Write stubs for client