Please use the DYNAMIC_GRAPH_ENTITY_DECL() macro defined in dynamic-graph/entity.h