Make Environment primary constructor public.