Add license check.