Added callbacks when entries in a collection are switched to/from.