Modified the class to public.