Debug function removed.