Input validation on provider