Switch order to make partialling easy.