WIP: more api methods.