Optimize Object#thread method