[BUG #8028] require Environment module