Make environment parsing optional.
Only parse string if necessary.