Fix class scope.