Environment and basic library support.