Identification of the PXW sequence as a structural gatekeeper of the headpiece C-terminal subdomain fold.