Begin to add a multi-thread flavor.