Make split function public.