Move some method to baseclient.