Setup configuration for handling validation