have XModuleDescriptor properly ensure category is set
use same getattr pattern in the XModule constructor that exists in the XModuleDescriptor