Changed license type constants to enum equivalents for readability