Added license validation.