Added method to wrap removeAllListeners