Rewrite package.h