[NUI] Add EnvironmentVariable interface (internal API) (#533) (#589)