Renamed callback to prehook