Adding support for global parameters. (closes #2)