Some minor changes to make MPI a little more convenient.