system: Get rid of unnecessary enum typedef