Speed up opening of a client (not finished yet).