Proper way to define & namespace functions in a node

I can't remember what defines an entry in the pallet. Is it the .html file or the .js file or a combination of those and the package.json entry?

I'm just adding new properties to the node's registration. Those properties aren't used by NR to render the node, so the pallet shouldn't be affected. But those properties are accessible from any other node's HTML file by using the getType method, so it makes for a convenient place to define and namespace all of my functions.