Moved all interpolation logic out of Analyzer class.