Change function to public.