Adding debug support.