Qsos2.Add modified to correct compile errors with the previous commit.
This completes changes for issue #111.