Removed support for slices names from the  function.