Fixes RT#92227 (Moose enum warnings)