Getting the client set up.