Added extra debugging methods