Add a crude source transformation algorithm.