Add packaging xml functionality.