There was some confusion about the bl_icon attribute being optional. In fact the functionality for hiding a tree type in the editor header is now controlled by writing a poll function for the tree type instead, which is more flexible and clean. http://www.blender.org/documentation/blender_python_api_2_71_6/bpy.types.NodeTree.html#bpy.types.NodeTree.poll