Changed so pipeline can have multiple SWORD spaces.