Matt Cain aligns forces with San Francisco RBI