Fixes for namespacing of OPF elements, and necessary attributes for <package> element.