semantic: Call allocDg in class constructors.