Updated EventSubscriber to set node data in the loadClassMetadata() method.