added profile setting APIs refs #192

Why don't you use `k` or `v`?