Fixed Moose enum warnings