Finished implementation of lazy worker.