added deprecation flag