Remove generic thread implementation.