Tyler Farrar wins stage 4 of the Tour of California.