properly wrap library.xbmc.foo