Fix compiler error by deleting unused code.