Change checkInfix visibility into protected