Added code to suppress warnings about smartmatch
Note: We may want to use something other than smartmatch
Fixes issue #2