Support for removing listeners by means of a listener id.