Added Environment API.