[Core] Temporary warning for hooks deprecation

@alloy What do think?