Add toString for better logging