Fixes RT#90689 -> New Moose enum declaration

Fixes the warnings due to new Moose enum declaration style: RT#90689: https://rt.cpan.org/Ticket/Display.html?id=90689