Removed unnecessary slicing.