Added Snowplow.prototype.validate method