Updated toString implementation for easier reading.