Delete hooks property from storage if there are no handlers left