empty() and size() and getListeners()