Classes for dep-based similarity introduced