Make shutdown method public.