add before work callbacks to inject whatever worker-specific dependencies exist