Add new options to export the variables as an array, a function, or in the Patterns XML format.
Initial release.