Extensions now get added on connecting to a server; disconnect removes them.
mapping is taken care off by a map
accidently cleaned up all the imports.