Changed global parameter handling.