Otherwise, it's not clear where things are coming from. FIXME: The icons for datablocks may not always be correct. It uses the innermost struct's icon instead of the datablock's icon - e.g. Bone vs Object/Armature. But, that may make more sense for users?