Added libraries and events