Add support for pre-defined environment globals (re: #228)
Fixes #249

Fixes #249

Fixes #249