Basic client code.