Fixing syntax to be more consistent with expected scope.