Update to v4-style "required"

Not exactly sure why those properties are required, but I'm simply updating the existing behaviour to the new syntax.