Update the two representations to share a common worker.

This simplifies the code and make adding new tweaks and bug fixes easier.