Clean up codebase a bit.
Clean up pkg.sh.