You could wrap this up in a list of setters and call cb_context:setters/2

````
cb_context:setters(Context, [
  {fun cb_context:set_doc/2, Doc1}
   ,{fun cb_context:store/3, 'entry_id', Uuid}
   ,{fun cb_context:store/3, 'entry_jobj', EntryData}
  ])
````
Something like that