Added worker.notify and tests.