Optimisations to lice.db