Add demo input validation.