Fix up pack file for release.
Split out typedef.