Fixes a protected method which have to be public.