Refactoring. NewConnectedListener class renamed to ConnectionListener.