Small optimization in Shield.