Widget methods need to be public.