Updated the ValHit class