Rename package_t to packaged_token and make packaged_handler public.
Fix uninitialised variable warning.