Moved debug logging inside uth namespace