Document custom worker classes.

Fixes #299