hook into compile_type_constraint so we can set the correct validation rules.
-=cut
+
around 'compile_type_constraint' => sub {
my ($compile_type_constraint, $self) = @_;
=cut
-__PACKAGE__->meta->make_immutable;
+__PACKAGE__->meta->make_immutable(inline_constructor => 0);
+