Useful validators for mongoose.