Add debug methods