Added custom licenses support.