=head2 Class methods
=head2 Relation accessors
=head3 type
my $restriction_type = $restriction->type;
=head1 API
=head2 Internal methods
=head3 _type
-