added deprecation notice