You're missing `riak_dt_od_flag` from here, which you have in the `crdt_op()` spec below.