delete env class