Restores hooks