Update compiler API and add licenses