Got rid of deprecated message of scope.