Enable preventing hooks