[DF-2395] Removed unnecessary code.