Merged xd_utils into xd_tab