Move Obj* API towards taking a struct worker as first argument.