pair seems to work

The pair seems to work, but only if I cast the nsobjects into its
derived class.