Modify for latest changes to Worker.

Signed-off-by: Robert Xu <robxu9@gmail.com>