Pulled out builders to make the Producer/Consumer classes thread-safe