Add support for swf.