Consolidated HFTUtils and removed unused code.