It will be trivial to further separate `connected` out as a standalone function which is included by both datasource and its worker.

The level of worry I have about those few extra Javascript modules being loaded in is measured in Kilobytes and microseconds. Human time is much more valuable than machine time.