Debugging methods.