Fix documentation of environment attribute