Added custom thread pools.