Removed deprecated hook