Added messy implementation for xml type modlist