Add environment resource.