Reduced code duplication in class XBMCD