Fixes RT#90665 fixes enum warnings due to Moose update