Take care of environment dependencies.