Make similarity checking optional, fixes #84