Removed debug logic.