Make InternalRef protected as it was accidentally made public.