Implemented add and remove events for tracks.