Removed direct reference to apphook_pool fields. Now they're accessed through get_apphooks and get_apphook methoeds.