Added code docs to client script.