Removed the pack() and export() functions, moved define into public.js