Adds msg and srv def field to new nodes.