This does not work, libraries have to use the LibraryCatalog class instead, see IrcProtocolManager._(), I just noticed XmppProtocolManager._() has the same bug and needs a fix (taking care o that).