Migrate global functions out of env_universal. Have env operate directly
on an env_universal_t.