Added some composable pair / triple functions.