Add beforeValidate() event handlers
More tweaks to  docs