Implemented collection.add and collection.remove events.