Added JML specs to addToString()