Adding xtypes