Add analysis code.