disable all but necessary hooks