Removed unnecessary debug messages.