Show deprecation warning in comparisions