Pluggable heuristics