Finalizing some environment values.