Remove dead code from Model.