Updated Event APIs from 'clear' to 'clearListeners'