Fixing errors on some versions of Moose