More changes in ApphookPool class