Move kv_wm utils changes to riak_object; make dialyzer a bit more happy.