Replacing specific object alert classes with global ones