Added toString method for the MM format.