doc: Fix references to old/unused variables.