Validate parameters as Moose classes