client: fix convenient functions, this file was incomplete, probably botched staging area