How to turn off all "required" warnings?