Fix for empty classes having the wrong icon and 'Reference' topic for NS_ENUM

Related to issue #380 and issue #2