Remove dead code
Implement worker protocol