Update shared code with Twitter fixes.