Removed unnecessary string copy.