Adds ThreadedMixin to allow module to be threaded.