Fixes #8 and implements "required: 'false'"