Add toString method for event associated objects