Allow style checking to be overridden.