Finalized models and similarity calculation.