tools.structure: fixing empty structure constructors