Change protected methods to public.