Thanks a lot Sandra. The table gives some clarification as to why adding to metadata doesnt work. I was just curious since there was an add button. But may I could modify the package, as you suggested.
I think I am gonna retrieve the class name from the node and check what class it belongs to. Thanks a lot. :)