fix export visibility and correct dbus type in xml/class manager