Implement debug methods