[Fix] Deprecated hooks