Replace required_parameters with required

Replace the list of required parameters with a boolean required
attribute per parameter.