Please see:

    [...]/gnosis/doc/HOWTO.extending-xml_pickle

for details on writing custom extensions.
