Implementations of object and thread pools.