added support for extending type stores by sucking up the declarations
of one into the other