Remove dead code. IS_EDIT does not seem to exist