Add helper methods for better debugging