Convert SRValidator delegate stuff to a protocol.