Added class for heuristics.