Use _deprecated_function from core