This adds an explicit post processing step to node declarations. The purpose of this is to keep the actual node declaration functions concise by avoiding to specify redundant information. Also it improves the separation of the creation of the declaration from using it.