Add debugging method.