Fixed issue introduced in #335

Forgot to add the RPC method, so workers would always fail invoking add_worker.

This was a pure cosmetic change that didn't lead to any deeper issues