-Codechange: use enums for bulletType (based on patch by wangds)