Class references and preparing the worker.