make sure the validation api is not optional so we don't get the missing Payload class errors