Unused variables detection correction.