Fixed a bug with adding default options when adding multiple managed listeners
Fixed a bug with creating plugins