automatically generate most getter/setter functions of firm nodes