Polish documentation
Add flag for automatic validation attached to the switch
Fix incorrect implementation
Polish documentation