Fixes Moose enum warnings