This allows toolbar definitions to dynamically generate tools, needed for generating a tool list from brushes for eg.