Added __toString method to PMIME