Added bnode generator hook