made .added and .removed public (to be accessible by plugins)