Use params validation.