Made all production visitors thread safe and getting ready for multithread optimization