Remove dead code from deadline template.