Replacements for :finder_sql and :counter_sql.