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
Merge pull request #376 from erikbern/erikbern/fix-335

Fixed issue introduced in #335