Removed debug code and methodized delete messages.