Replace ID based scope with class based scope.