This change is here because otherwise $parameters isn't set to anything before it's used.  The change here seems consistent with the API docs.  I do wonder though whether we want to set these in the $parameters if they're NULL defaults?