Stub1 maintains proteostasis of master transcription factors in embryonic stem cells.