Make ResourceFactory's verify a constructor param.