Consolidate up/down-voting.

  We didn't need to duplicate the code.