restored type checking
Merge pull request #157 from timeck/restoreTypeChecks

restored type checking in Store.bulkComputeXXX() methods