Bugfix: Make $modx available again to snippets and plugins.