Finished set type function.  Need to review all get operations to see if more can be combined