MooseX::Types::Set::Object provides Moose type constraints (see Moose::Util::TypeConstraints, MooseX::Types). WWW: https://metacpan.org/release/MooseX-Types-Set-Object