Regenerate public.