Make xtorFun private