Update documentation script.
Switch to NS_ENUM and document enumerations.