Doing: Wrap functions into class; wrap client into class, and works;