#152, 'typeCheck' method performance tuning