Finish client and combine code.