Complete Environment::detect()