=head1 DESCRIPTION The registry for the different types of data managed by the plugin. =head1 METHODS =head2 add_type($type, $definition = {}) Adds a data type to the registry. =head2 type($type) Returns the type's C. Throws an error if the type does not exist. =cut =head2 serialize($type,$data,$extra_data={}) Returns the serialized form of C<$data>. =cut