Eliminate obsolete logic.