Global replace of 'term' for 'class' or similar.