Move body.env class from main to body