switch to prototypical obj defns in kclient