Support for YAML serialisation.

Some Catalyst installations need this addition.