Pin1 modulates RNA polymerase II activity during the transcription cycle.