Argument validation.